package com.ttbj.product.bean.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;


@JsonInclude(Include.NON_NULL)
public class TruckDto implements Serializable {

 
	private static final long serialVersionUID = 228839943825719118L;
	
	
	 private Long truckId;

	    private String truckNum;

	    private String truckCarnum;

	    private Integer truckType;

	    private String truckLng;

	    private String truckLat;

	    private String truckInsTime;

	    private String truckUpdateTime;

	    private Integer truckIsDelete;

	    private Integer truckIsShort;

	    private String truckDriverNum;

	    private Integer truckIsCompany;
	    
	    private Long truckDriver;
	    
	    	
	    
	    public TruckDto(Long truckId, String truckCarnum, Integer truckType, Long truckDriver) {
			super();
			this.truckId = truckId;
			this.truckCarnum = truckCarnum;
			this.truckType = truckType;
			this.truckDriver = truckDriver;
		}
		public TruckDto() {
		}
	    public Long getTruckDriver() {
			return truckDriver;
		}

		public void setTruckDriver(Long truckDriver) {
			this.truckDriver = truckDriver;
		}

		public TruckDto(Long truckId, Long driverId) {
	    	this.truckId = truckId;
	    	this.truckDriver = driverId;
		}

		public Long getTruckId() {
	        return truckId;
	    }

	    public void setTruckId(Long truckId) {
	        this.truckId = truckId;
	    }

	    public String getTruckNum() {
	        return truckNum;
	    }

	    public void setTruckNum(String truckNum) {
	        this.truckNum = truckNum == null ? null : truckNum.trim();
	    }

	    public String getTruckCarnum() {
	        return truckCarnum;
	    }

	    public void setTruckCarnum(String truckCarnum) {
	        this.truckCarnum = truckCarnum == null ? null : truckCarnum.trim();
	    }

	    public Integer getTruckType() {
	        return truckType;
	    }

	    public void setTruckType(Integer truckType) {
	        this.truckType = truckType;
	    }

	    public String getTruckLng() {
	        return truckLng;
	    }

	    public void setTruckLng(String truckLng) {
	        this.truckLng = truckLng == null ? null : truckLng.trim();
	    }

	    public String getTruckLat() {
	        return truckLat;
	    }

	    public void setTruckLat(String truckLat) {
	        this.truckLat = truckLat == null ? null : truckLat.trim();
	    }

	  

	    public String getTruckInsTime() {
			return truckInsTime;
		}

		public void setTruckInsTime(String truckInsTime) {
			this.truckInsTime = truckInsTime;
		}

		public String getTruckUpdateTime() {
			return truckUpdateTime;
		}

		public void setTruckUpdateTime(String truckUpdateTime) {
			this.truckUpdateTime = truckUpdateTime;
		}

		public Integer getTruckIsDelete() {
	        return truckIsDelete;
	    }

	    public void setTruckIsDelete(Integer truckIsDelete) {
	        this.truckIsDelete = truckIsDelete;
	    }

	    public Integer getTruckIsShort() {
	        return truckIsShort;
	    }

	    public void setTruckIsShort(Integer truckIsShort) {
	        this.truckIsShort = truckIsShort;
	    }

	    public String getTruckDriverNum() {
	        return truckDriverNum;
	    }

	    public void setTruckDriverNum(String truckDriverNum) {
	        this.truckDriverNum = truckDriverNum == null ? null : truckDriverNum.trim();
	    }

	    public Integer getTruckIsCompany() {
	        return truckIsCompany;
	    }

	    public void setTruckIsCompany(Integer truckIsCompany) {
	        this.truckIsCompany = truckIsCompany;
	    }

		@Override
		public String toString() {
			return "TruckDto [truckId=" + truckId + ", truckNum=" + truckNum + ", truckCarnum=" + truckCarnum
					+ ", truckType=" + truckType + ", truckLng=" + truckLng + ", truckLat=" + truckLat
					+ ", truckInsTime=" + truckInsTime + ", truckUpdateTime=" + truckUpdateTime + ", truckIsDelete="
					+ truckIsDelete + ", truckIsShort=" + truckIsShort + ", truckDriverNum=" + truckDriverNum
					+ ", truckIsCompany=" + truckIsCompany + "]";
		}
	

}
